﻿Public Class CustumersDTO
    Private _custumerId As Integer
    Private _fisrtname As String
    Private _lastname As String
    Private _phone As String
    Private _address As String
    Public Property CustomerId() As Integer
        Get
            Return _custumerId
        End Get
        Set(ByVal value As Integer)
            _custumerId = value
        End Set
    End Property
    Public Property Fisrtname() As String
        Get
            Return _fisrtname
        End Get
        Set(ByVal value As String)
            _fisrtname = value
        End Set
    End Property
    Public Property Lastname() As String
        Get
            Return _lastname
        End Get
        Set(ByVal value As String)
            _lastname = value
        End Set
    End Property
    Public Property Phone() As String
        Get
            Return _phone
        End Get
        Set(ByVal value As String)
            _phone = value
        End Set
    End Property
    Public Property Address() As String
        Get
            Return _address
        End Get
        Set(ByVal value As String)
            _address = value
        End Set
    End Property
    Public Sub New(ByVal Cusid As String, ByVal Fn As String, ByVal Ln As String, ByVal Pn As String, ByVal Add As String)
        Me._custumerId = Cusid
        Me._fisrtname = Fn
        Me._lastname = Ln
        Me._phone = Pn
        Me._address = Add
    End Sub
    Public Sub New(ByVal cusId As Int32)
        Me._custumerId = cusId
    End Sub
End Class
